package pl.lodz.p.services;

import java.util.List;

import pl.lodz.p.model.Patient;
import pl.lodz.p.model.enums.Gender;
import pl.lodz.p.model.enums.Specialization;

public interface PatientService {

	public String save(Patient p);
	
	public String saveOrUpdate(Patient p);

	public List<Patient> findAll();
	
	public List<Patient> findPatientsByFilter();
	
	public List<Patient> findBySpecialization(Specialization spec);
	
	public Patient findByPesel(String pesel);
	
	public List<Patient> findByLastName(String lastName);
	
	public List<Patient> findByMany(String firstName, String lastName, String pesel, Gender gender);
	
}
